დავით სიჭინავა
9 მარტი, 2018
პირველი შეხვედრა
ლექცია
ლექცია
ლაბორატორია
ლექცია
ლაბორატორია
ლიტერატურა
Kruschke, John. Doing Bayesian data analysis: A tutorial with R, JAGS, and Stan. Academic Press, 2014 (BAY)
ჩემს მიერ დარიგებული ლიტერატურა და კურსის ვებსაიტზე ატვირთული ტექსტები
ლექცია
ლაბორატორია
ლიტერატურა
დავალებები
| კომპონენტი | ქულა |
|---|---|
| დასწრება | 5 |
| ლაბორატორიული დავალება | 30 |
| შუალედური გამოცდა | 25 |
| დასკვნითი გამოცდა | 40 |
R-ის ნაკლად კარგა ხანი ითვლებოდა მოსახერხებელი სამომხმარებლო გარემოს არარსებობა
R-Studio ამ პრობლემის მოსაგვარებლად არსებობს
### ზოგადი დახმარება:
help.start()
### დახმარება რომელიმე ფუნქციასთან დაკავშირებით
help(lm) ## ან
?lm
### მაგალითის ჩვენება
example(lm)
### ფუნქციის / ბიბლიოთეკის ვინიეტის ჩვენება
vignette("ggplot2-specs")
getwd()
setwd("D:/Dropbox/R/My awesome research")
ან
setwd("D:\\Dropbox\\R\\My awesome research")
ან
setwd('D:\\Dropbox\\R\\My awesome research')
install.packages("ბიბლიოთეკის სახელწოდება")
library("ბიბლიოთეკის სახელწოდება")
წყარო: Baker, M. (2016): Is there a reproducibility crisis? Nature. Vol. 533.
მაგრამ…
The lexicon of reproducibility to date has been multifarious and ill-defined. The causes of and remedies for what is called poor reproducibility, in any scientific field, require a clear specification of the kind of reproducibility being discussed (methods, results, or inferences), a proper understanding of how it affects knowledge claims, scientific investigation of its causes, and an improved understanding of the limitations of statistical significance as a criterion for claims
Goodman, S., Fanelli, D., Ioannidis, J. (2016): What does research reproducibility mean?
წყარო: Marwick, B. (2014): Reproducible Research: A primer for the social sciences
source("MyAwesomeRegression.R")
Documentation must be regarded as an integral part of the process of design and coding. A good programming language will encourage and assist the programmer to write clear, self-documenting code, and even perhaps to develop and display a pleasant style of writing.
Hoare, T. (1973): Hints on Programming Language Design. [in:] Knuth, D. (1983): Literate Programming. The Computer Journal
### ტაბით გამოყოფილი ცხრილი
1 6 a
2 7 b
3 8 c
4 9 d
5 10 e
### მძიმით გამოყოფილი ცხრილი
v1,v2,v3
1,2,3
4,5,6
7,8,9
a,b,c
myTable<-read.table("data/myTable.txt")
myTable<-read.table("data/CB_2017_Georgia_public_17.11.17.csv", header = TRUE, sep=",") ### მძიმით გამოყოფილი ცხრილის წაკითხვა
myTable<-read.csv("data/CB_2017_Georgia_public_17.11.17.csv", header=TRUE) ### მძიმით გამოყოფილი ცხრილის წაკითხვა
myTable<-read.table("data/CB_2017_Georgia_public_17.11.17.txt", header = TRUE, sep="\t") ### ტაბით გამოყოფილი ცხრილის წაკითხვა
galton<-read.csv("https://vincentarelbundock.github.io/Rdatasets/csv/HistData/Galton.csv")
install.packages("haven")
library(haven)
### haven ბიბლიოთეკა:
cb2017spss<-read_sav("data/CB_2017_Georgia_public_17.11.17.sav")
cb2017stata<-read_dta("data/CB_2017_Georgia_public_17.11.17.dta")
install.packages("foreign")
library(foreign)
cb2017foreign<-read.spss("data/CB_2017_Georgia_public_17.11.17.sav")